#pragma once
#ifndef TEXTURE_H
#define TEXTURE_H

#include "Image.h"
#include "Shader.h"
#include <glad/glad.h>

class Texture
{
	unsigned int m_ID;
public:
	Texture(char *path);
	Texture(GLint format, GLsizei width, GLsizei height, const void *pixels);
	void texImage2D(GLint format, GLsizei width, GLsizei height, const void *pixels);
	void bind(Shader *pShader, char *pLocation, GLenum texture);
	unsigned int getID();
};

#endif